$813 serverless database connectivity Help

Andreas Pfeiffer apfeiffer at familiepfeiffer.de
Tue Jan 9 08:22:21 EST 2018


Hi Jay,

Check out https://github.com/OmnisStudio/Omnis-ServerlessClient <https://github.com/OmnisStudio/Omnis-ServerlessClient>

Best,

Andreas

> Am 09.01.2018 um 08:58 schrieb Omnis Newbie <omnisnewbie at gmail.com <mailto:omnisnewbie at gmail.com>>:
> 
> Hi Omnis People,
> 
> I'm really taxing my brain on this but so much doesn't seem to make sense to me.
> The biggest problem I seem to be having is that none of the java script examples
> In the hub actually work in serverless mode because most of the methods in them
> are not set to Execute on Client so how could they?
> 
> I also notice that none of the examples have access to an embedded sqllight database.
> 
> I am reading the "Creating Web & Mobil apps" documentation and it's not helping me get connected to the database.
> 
> In the "The JavaScript Serverless Client" it says
> 
> The SQL Object
> A Serverless Client application gains access to the embedded database using a SQL Object, which in this case is a property of the current remote form called $sqlobject:
> $cinst.$sqlobject
> For example:
> Calculate oVar as $cinst.$sqlobject
> 
> But where or how does $sqlobject get set?  It won't let me set it in properties and it's a little hard to figure it out because you can't step through the code to see if setting it with notation would work somehow.
> 
> 
> I'm trying to take this one step at a time but until I can connect to the database I can't go much further.
> I am having no trouble connecting to databases in windows and forms on the desktop using dams and objects but moving to serverless seems to be troublesome.
> 
> Can anyone point me in the right direction here?
> 
> Thank you
> 
> Jay the newbie
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com <http://lists.omnis-dev.com/>



Grüße,

Andreas




More information about the omnisdev-en mailing list