Hi
I see, I can automatically add the username to some field.
How can I use the username / ID / GroupID ... some other internal AppGini placeholder in my custom SQL code (e.g. for an advanced lookup)?
Olaf
How to use username/id in lookup?
How to use username/id in lookup?
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: How to use username/id in lookup?
Create a view "view_members" using your SQL tool. Add a table "view_members" to appGini with identical columnnames and data types. Use the table as lookup source. Generate your app.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: How to use username/id in lookup?
Hi jsetzer,
thanks for this suggestion. Sounds good. I will try it.
Olaf
thanks for this suggestion. Sounds good. I will try it.
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: How to use username/id in lookup?
Hi jsetzer,
I tried your suggestion in a similar context ( viewtopic.php?f=2&t=3034 ). It did not work
Olaf
I tried your suggestion in a similar context ( viewtopic.php?f=2&t=3034 ). It did not work
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: How to use username/id in lookup?
Hi,
not sure if this is what you are looking for, but if yes, this is not yet supported. See
viewtopic.php?f=2&t=2880&p=9627&hilit=lookup#p9627
not sure if this is what you are looking for, but if yes, this is not yet supported. See
viewtopic.php?f=2&t=2880&p=9627&hilit=lookup#p9627
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
Re: How to use username/id in lookup?
Hi pbötcher,
maybe ... we will see. Thanks for pointing out.
Olaf
maybe ... we will see. Thanks for pointing out.
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: How to use username/id in lookup?
Hi Jan,
Olaf
Works, but AG complains as PK can not be FK at the same time (according to AG) and FK can not be UNIQUE (according to AG). I did like AG wanted and changed the table indexes in phpmyadmin accordingly. AG could also warn the user if that what he tries to do actually makes sense, and then follow instructions ...
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view