Use Variables in Detailtables

D6, Interbase
There is a table A with a personalnumber. An there is a table B, which is connected with A (1:n) over personalnumber. Is there a possibility with the ongetvalue-procedure to put all values of B on a special place in a detailband?
For example:
the second value in B is 'xxx' and when this appears the variable should get the value 'test'
Thanks
PS: The ongetvalue-procedure works fine, when I use only the masterband. But I have many problems with the detailband

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:03PM
    when using fruser datasets you are responsible for record movements in the object to which it is connected, and must write code for the onfirst on next onprior oncheckeof events, so a ongetvalue event is not too usefull
    better to write onuserfunction events where you can pass out upto 3 values,
    do what you want in delphi code and return 1 value to the report .
    if you need examples see the public.binaries news group.
    regards ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.