473,588 Members | 2,544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Latest Bytes Forum

Support forums for various IT topics. Programming languages, databases, systems, applications and more. Subscribe to a community, participate, ask, share your expertise and network.
 
0
2,510
thread by: Mass17 | last post Oct 20 '18 by: Mass17
I have a python3 program that gives cycles for a given permutation. I want to know how to find a children out of it. This is what I have to create a cycles; def to_cycles(perm): pi = {i+1: perm for i in range(len(perm))} cycles = while pi: elem0 = next(iter(pi)) # arbitrary starting element this_elem = pi
1
2,436
thread by: Thodorompalos | last post Oct 20 '18 by: Thodorompalos
Hello! I have a problem with a MySQL database that I haven’t been able to solve no matter how much I tried, either with internet guides or with free tools. I really don’t want to pay hundreds of dollars to a company so please, if anyone knows of a solution, help me because I’m desperate. I was running XAMPP 7.1.22 where I had said database and...
5
2,689
PhilOfWalton
thread by: PhilOfWalton | last post Oct 19 '18 by: NeoPa
I gave a Continuous Subform with a Combo box Cbo1 and a CheckBox Chk1 Both are bound controls. The DoubleClick on the Combo box changes the record. If Chk1 is set to False, I want the Combo box to work in the normal way. If Chk1 is set to True, I want to stop the Combo box displaying anything other than the data already showing. (In other...
12
1,769
PhilOfWalton
thread by: PhilOfWalton | last post Oct 19 '18 by: NeoPa
I have a continuous subform, listing the fields in a table. I want to indicate whether the field is required or not. So I need a visual indication on the subform itself without actually trying to enter data. Here is a mock-up https://bytes.com/attachment.php?attachmentid=9772&stc=1&d=1539734062 Stuck on this one. Have messed around with...
1
1,413
thread by: shilpaathawale | last post Oct 19 '18 by: gits
<html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" media="screen" href="https://bytes.com/calender.css" /> <link rel="stylesheet"...
1
934
thread by: PMCCAULEY | last post Oct 19 '18 by: NeoPa
I have created the following crosstab report. I would like to return the data when the Welder, spool# and Weld# are the same on the same row. Welder Spool # Weld # WPS RT Tracer VT B7 47 1 112A 1 B7 47 2 112A 1 B7 47 3 112A 1 B7 49 2 112A 1 B7 ...
1
1,209
thread by: Aftab Ahmad | last post Oct 19 '18 by: NeoPa
Hello friends! I have a database where in many users have been entered. I want to open database in read only mode if my user is rather than admin. Is this possible?
0
1,169
thread by: pradeepkumarbe | last post Oct 18 '18 by: pradeepkumarbe
My Csv File looks like below Territory NoOfCustomer D00060 10 D00061 20 D00065 70 D00067 90 I have to create a Unique Id based on Number of NoOfCustomer like If NoOfCustomer <=50 then I have to create 10 different Unique ID for Territory D00060 and 10 different Unique ID for Territory D00061.
1
7,161
thread by: madhuri124 | last post Oct 18 '18 by: dwblas
I am trying to write to a file inside folder.But it is failing with below error.Please help. Traceback (most recent call last): File "C:/Users/admin/Desktop/scripts/de.py", line 6, in <module> with open(mypath,"w+") as x: IOError: Permission denied: 'C:/Users/admin/Desktop/scripts25/hj214/f.txt' Here is my code: import os mypath...
1
1,433
thread by: programk1998 | last post Oct 18 '18 by: weaknessforcats
Hi I have to write a program. I have a number given in base 10 and the same number in base 2 which is separated at 8 numbers with 8 digits( as a known 1 bytes=8 bits ). And then I have to change for every 1 and 0 some character ( maybe bit mask? ) Can someone please help me?
0
2,939
thread by: hoangnganvy1993 | last post Oct 18 '18 by: hoangnganvy1993
continue to have windows server 2008 error's popping up. Did I somehow inadvertently download Win Server 2008 or is it part of the Windows 7 platform?
0
1,548
thread by: aleso | last post Oct 18 '18 by: aleso
Where can I find sample database with tables used in the Postgresql documentation to download ( used here for example : https://www.postgresql.org/docs/current/static/queries-with.html )
0
2,058
thread by: sbadvipour | last post Oct 18 '18 by: sbadvipour
0 down vote favorite
1
4,899
thread by: johndavidross | last post Oct 16 '18 by: NeoPa
I inherited an Access database and I'm trying to add on a method of creating a revision level field that can count up as needed. I have 2 fields: Job Number and Revision Number. I want to create a button that creates a new record based on an old job number and then do a validation which ups the revision number by one. For example: I already...
12
2,213
PhilOfWalton
thread by: PhilOfWalton | last post Oct 16 '18 by: PhilOfWalton
I am trying to create a normalised database from a linked Excel file as a general purpose database. Suppose the Excel File is Person Number, Name, Address Lines, City, State, Zip Code I have already created the following tables. TblCities CityID AutoNumber PK City Text
0
1,100
thread by: ajmmartinez | last post Oct 16 '18 by: ajmmartinez
Hi, I'm using pyhook to get mouse events. Right now I can get the windows name when I click on some windows with the mouse, but anyone knows if I click on an object (a file) to get the name ? Thanks a lot
0
1,060
thread by: jeannier1975 | last post Oct 16 '18 by: jeannier1975
Hello, can I write a query that will give percentages of records That has several criteria. First criteria all the work orders must have PMINS,PMRT.PMOR,PMREG,PMPDM. Second criteria workorder must have a status of COMP. Third criteria the target startdate must be between 8/19/18 and 8/25/18 Labor hours can not ==00:00 the actual start date...
1
1,030
thread by: sjnn | last post Oct 16 '18 by: NeoPa
Hi All, I'm new to excel need help. My requirement is My data is available in one sheet and I want to pass the each cell value to VBA macro. I've approx 60 lines/rows (Single column only) of data. And this is Dynamic ( I mean we manually copy from email and paste in excel). Regards,
3
1,552
thread by: tjb0205 | last post Oct 16 '18 by: NeoPa
I want to set requirements for password creation (see example). Example: Xray2319! (form entry) Accepted ray05 (form entry) Rejected Requirements: At least 8 characters. Must contain:
4
1,516
thread by: tjb0205 | last post Oct 16 '18 by: NeoPa
I want to verify the password field on my login screen is an exact match to the one in the table (see example). Example: Xray123 (form entry) = Xray123 (users table) Accepted xray123 (form entry) = Xray123 (users table) Rejected I hope this isn't too confusing. I am relatively new with VBA and trying to learn the best that I can. I have...
0
1,018
thread by: jackbuck12 | last post Oct 15 '18 by: jackbuck12
If the list were to be how would I make a code to add them together
0
1,140
thread by: jackbuck12 | last post Oct 15 '18 by: jackbuck12
Hi I am doing an assignment for m programming class but I can not figure out what to do after this... a = for i in range(len(a)) print (a)
0
3,353
Jurnero
thread by: Jurnero | last post Oct 15 '18 by: Jurnero
How can I improve Microsoft SmartScreen reputation. I have a calendar app that is updated every day. But when a new version is released, the reputation for it is re-counted. How can I increase the credibility of my program?
0
1,957
thread by: PMCCAULEY | last post Oct 15 '18 by: PMCCAULEY
I would like to add a running sum column to each VT count by Welder/Insp and add another column to assign a number in another column to the item numbers in increments of 20. How do I add this to my SQL to achieve this? I am attaching a copy of the datasheet so you have a better understanding of what I am trying to arrive at. TRANSFORM...
8
1,805
thread by: mpalmer1995 | last post Oct 15 '18 by: weaknessforcats
// function prototypes void inputdata(); void printdata(); // Global variables // These are available to all functions float Raindata; char years = {"2011","2012","2013","2014","2015"}; char months ={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"}; int main ()

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.