File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Languages and the fly likes  object pascal procedure not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark " object pascal procedure not working " Watch " object pascal procedure not working " New topic

object pascal procedure not working

Miranda Gebruiker

Joined: Dec 03, 2013
Posts: 1
So the Form data is

The idea is to fill the adress fields from Order with that of the adress information from Customer, when a customer is selected by its number, in said form. This with one procedure.

The error i receive is :
Unknown Identifier : FieldByName

But the procedure is to be executed in Order, which has a fieldname Customer ... so...
If i change it to Order.FieldByName('customer').AsInteger it says it doesn't recognize Order.

I've tried an alternative code without paramater setting of aField:TField (so in the form it becomes a beforePost instead of onChange)

But here it says it also doesn't recognize Order.

Im at a loss here, any help is appreciated.

I agree. Here's the link:
subject: object pascal procedure not working
It's not a secret anymore!