You are here:   Forum
Register   |  Login

 

Forum Notice

This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


Forums

Unanswered
Topic Replies Views Last Post
What is the reason lightswich adds and removed the S character pulled from a database. Is there a way to turn it off
by twic in LightSwitch Beginners
0 794
07 May 2013 01:28 AM
Issues with Jetpack Themes HELP!!!!!
by Andy Drury in DELORDSON (LightSwitch Extras)
0 1627
26 Apr 2013 02:37 AM
Filtering a field using first letter
by DAL in LightSwitch Beginners
0 926
24 Apr 2013 09:38 AM
SQL Server 2012 R2 Express & Lightswitch
by in LightSwitch Beginners
0 2105
23 Apr 2013 01:55 PM
Create new record - Dynamic data
by Kevino in LightSwitch Beginners
0 1336
22 Apr 2013 01:15 AM
How to Deploy Light Switch application to Windows Mobile?
by Ragavan in LightSwitch Beginners
0 1087
16 Apr 2013 11:55 PM
What is the default Username and Password for LightSwitch HTML client login
by Ragavan in LightSwitch Beginners
0 2093
16 Apr 2013 11:45 PM
HTLM Camera/Signature Control?????
by Jim W in LightSwitch Hackers
0 1533
13 Apr 2013 06:52 PM
Errors with Forms Authentication in HTML client
by Larry in LightSwitch Beginners
0 2128
11 Apr 2013 09:02 PM
Extension business type
by Humberto Reis in LightSwitch Beginners
0 671
09 Apr 2013 05:51 PM
How to loop through all tables
by magmuggy in LightSwitch Beginners
0 1347
05 Apr 2013 10:55 AM
LS not refresh related data after add new tables
by francisco in LightSwitch Beginners
0 1539
05 Apr 2013 10:45 AM
Dynamic Run time Choice List
by Ragavan in LightSwitch Beginners
0 2041
04 Apr 2013 10:46 PM
"Format Pattern" not working?
by Corrado in LightSwitch Beginners
0 2034
01 Apr 2013 06:58 AM
Geocoding with Lightswitch
by zack142 in LightSwitch Beginners
0 1125
28 Mar 2013 10:12 PM
Set Default Values on Fields within a Screen
by Michael in LightSwitch Beginners
0 2300
27 Mar 2013 08:56 AM
Lightswitch HTML Navigate from variables on the URL bar
by Pedro in LightSwitch Beginners
0 2629
22 Mar 2013 04:41 AM
Enity Set convert to generic funtion
by jbaillie in LightSwitch Beginners
0 1141
19 Mar 2013 09:10 AM
uploading Error need help with bug
by jbaillie in LightSwitch Beginners
0 867
17 Mar 2013 09:02 AM
Getting Original Entity Values in LS HTML New...
by Jack Stephenson in LightSwitch Beginners
0 1436
15 Mar 2013 11:17 AM
Page 3 of 20 << < 12345 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

Hi all, I've been trying to exclude a few records from a query-result by using the preprocess method of the query object. The scenario I'm trying to achieve: exclude all products already chosen in orderdetailrecords from a products-pulldownlist when adding a new record as orderdetail. I'm have come up with this code, query is called TestProduct, orderID is fixed for testingpurposes to 685 returning two products to be excluded from final result:         Private Sub TestProduct_PreprocessQuery(ByRef query As System.Linq.IQueryable(Of LightSwitchApplication.Product))             Dim myOrderDetails = Me.DataWorkspace.ApplicationData.OrderDetails.GetQuery().Execute()             Dim productsCurrent = From myOrderDetailsSelect In myOrderDetails Where myOrderDetailsSelect.Order.orderID = 685 Select myOrderDetailsSelect.Product             'Make productscurrent
Read more...

Hi I have been putting together a LS project for a large organisation (VS2013), currently we have circa 200 users on the silverlight client, its going well. During the development of the Silverlight client we mocked up a quick html client to as a proof of concept for those in the field which, for what is was worked fine. After reading through all the books to bring myself up to speed with moving to the HTML client I've run into a brick-wall from day one. When-ever I add new controls (text boxes, table views etc) or properties to an existing screen, the properties (when moved onto the page) become read-only and new tables etc are greyed out and wont list any data. Additionally if I try to create a new screen it simply wont load (no error message, nothing). Properties that already existed on the page continue to work fine. However if I delete, recreate and place these existing properties on the screen they become read-only. There is nothing I can seem to do to turn this
Read more...

I have made a small database for storing the presence of my volleyball team during training. Furthermore I used Lightswitch to insert the data. For the trainings I have a screen showing all the information (date, time, place, ...) and I can add a player to this training and the status, e.g. if she was there, or if her absence was without excuse or not. There is a data grid, where I can add a palyer, her status, ...  I use a auto complete box to choose the right player, then I set her training status a.s.o. But some of the players in the database are not active, so I don't want to see them in the box, when I choose the player. I have a property "active" for that. The question is, how can I achieve, that only the players with "active==TRUE" are shown in this box? Is it possible to filter that somehow. Thanks for your help, stephan mc stephan mc
Read more...

Create Generic Class
6/23/2015 6:30 AM
Hi, i've created a UserCode on SL Client named Albaran . I would like to call this class from a details screen, to make operations in database. With this class i call from many screens. In a details Screen i have a function with this code: Try                             Dim result = From contador In Me.DataWorkspace.GESTION.series                         Where contador.EMPRESA = empresa And contador.SERIE = serie And contador.TIPODOC = tipodocumento                         Select contador                             albaranencurso = result.Single().CONTADOR                             siguientealbaran = result.Single().CONTADOR      
Read more...

How to pick up the current entity in a View Screen and use that entity in a AddEdit Screen? 
Read more...

1234
Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation