Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

iFrame lists all possibilities

Questions related to using nuBuilder Forte.
Post Reply
GlenMcCabe
Posts: 114
Joined: Sun Sep 29, 2019 12:40 pm

iFrame lists all possibilities

Unread post by GlenMcCabe »

Newbie here

I have built a browse / edit form which lists patients and edits. It appears to be working fine.

I added a run object iFrame to list the referrals for a patient. Problem is that all referrals are being shown in the iFrame. I have tried the iFrame in the same tab as the patient details and also in a seperate referral tab. Same list. Adding a new one seems to be fine.

SQL for the referral form is

SELECT *

FROM referral INNER JOIN patients

ON referral.patientID = patients.patid

Help would be appreciated.
kev1n
nuBuilder Team
Posts: 4562
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 times
Contact:

Re: iFrame lists all possibilities

Unread post by kev1n »

Aren't you missing a WHERE clauseto display only the records that belong to the patient?


WHERE patients.patid = '#RECORD_ID#'
GlenMcCabe
Posts: 114
Joined: Sun Sep 29, 2019 12:40 pm

Re: iFrame lists all possibilities

Unread post by GlenMcCabe »

That line added gives no records in the list.

I assumed that adding #RECORD_ID# in the filter did the actual filtering.

thanks for trying
admin
Site Admin
Posts: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: iFrame lists all possibilities

Unread post by admin »

Glen,

Hopefully, this will help...

https://www.youtube.com/watch?v=j5uvGMCPQRQ


Steven
GlenMcCabe
Posts: 114
Joined: Sun Sep 29, 2019 12:40 pm

Re: iFrame lists all possibilities

Unread post by GlenMcCabe »

thanks folks.

Now sorted.
admin
Site Admin
Posts: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: iFrame lists all possibilities

Unread post by admin »

.
Post Reply